﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanLyGiaoVuDAL.Repositories.DatabaseRepositories;
using QuanLyGiaoVuDAL.DTO;

namespace QuanLyGiaoVuService.CommandServices
{
    public class NguoiDungCommandService:INguoiDungCommandService
    {
        private INguoiDungRepository _nguoiDungRepository;
        public NguoiDungCommandService(INguoiDungRepository nguoiDungRepository)
        {
            _nguoiDungRepository = nguoiDungRepository;
        }
        public NguoiDungDTO DoiMatKhauNguoiDung(NguoiDungDTO nguoiDungDTO)
        {
            return _nguoiDungRepository.DoiMatKhauNguoiDung(nguoiDungDTO);
        }
    }
}
